// import request from "./request"
// import qs from "qs"


// //精品推荐
// export const jingpinApi = ()=>request.get("/products/recommend")

// // 热门兑换
// export const hotExchangeApi = ()=>request.get("/products/hot")

// // 获取手机验证码
// export const getPloneCodeApi = (params)=>request.post("/sendSMS",qs.stringify(params))

// // 手机号码登录请求
// export const ploneLoginApi = (params)=>request.post("/phoneRegin",qs.stringify(params))

// // 微信二维码登录
// export const weixinLoginApi = (params)=>request.post("/wechatUsers/PCLogin",qs.stringify(params))

// // 手机号绑定微信
// export const PloneBindWeixinApi = (params)=>request.post("/wechatUsers/binding",qs.stringify(params))

// // 获取用户信息
// export const userProfilesApi = ()=>request.get("/shop/userProfiles")

// // 商品详情信息
// export const goodsDetailsApi = (id)=>request.get(`/products/${id}`)

// // 加入购物车
// export const addToCartApi = (params)=>request.post("/shop/carts/add",qs.stringify(params))

// // 商品查询
// export const goodsSearchApi = (params)=>request.get("/products",{params})

// // 查看购物车
// export const cartDataApi = ()=>request.get("/shop/carts")

// // 删除购物车商品
// export const deleteProductionApi = (id)=>request.delete(`/shop/carts?productIds=${id}`,(id))

